<?php
    // make sure only logged in users can see this page	
    gatekeeper();
 
    $title .= elgg_echo('climbia:escuela:create');
 
    // start building the main column of the page
    $content = elgg_view_title($title);
 
    // add the form to this section
    $form_vars = array('enctype' => 'multipart/form-data');
    //$body_vars = file_prepare_form_vars();
    $content .= elgg_view_form("climbia/saveEscuela", $form_vars, $body_vars);
 
    // optionally, add the content for the sidebar
	
    // layout the page
    $body = elgg_view_layout('one_sidebar', array(
           'content' => $content,
           'sidebar' => $sidebar
        ));
 
    // draw the page
    echo elgg_view_page($title, $body);
?>
